import numpy as np
class DIVCON:
    def oncalc(self,*d,timekey=None):
        if None not in d:
            std=np.std(d)+1
            rst=-np.log(std)
            return rst
        else:
            return None